﻿using ERPPublic;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProductionManagement.Domain.ProductionDomain
{
    /// <summary>
    /// 生产派工物料关联表
    /// </summary>
    /// 
    [SugarTable("ProductionOfAssignedMaterials")]
    public class ProductionOfAssignedMaterials: Audit
    {
        // 派工物料 ID
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int WorkMaterialId { get; set; }

        // 物料 ID
        public int? MaterialId { get; set; }

        // 物料产品表 ID
        public int? ItemProductsId { get; set; }
    }
}
